package com.store.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 员工业绩实体类
 */
@Data
@TableName("employee_performance")
public class EmployeePerformance {
    
    /**
     * 业绩ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    
    /**
     * 员工ID
     */
    private Long employeeId;
    
    /**
     * 统计日期
     */
    private LocalDate statDate;
    
    /**
     * 订单数
     */
    private Integer orderCount;
    
    /**
     * 销售额
     */
    private BigDecimal salesAmount;
    
    /**
     * 退款金额
     */
    private BigDecimal refundAmount;
    
    /**
     * 净销售额
     */
    private BigDecimal netSales;
    
    /**
     * 创建时间
     */
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    
    /**
     * 更新时间
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;
}




